<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>=====教育SDK_DEMO===</title>
  <style>
    html {
      font-size: 75%;
    }

    * {
      padding: 0;
      margin: 0;
    }

    body {
      padding: 100px 20px;
    }

    .text-center {
      text-align: center;
    }

    .card:hover {
      cursor: pointer;
      box-shadow: 0 0 10px #333333;
    }
  </style>
  <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.5.0/css/all.css" integrity="sha384-B4dIYHKNBt8Bc12p+WXckhzcICo0wtJAoU8YZTY5qE0Id1GSseTk6S+L3BlXeVIU"
    crossorigin="anonymous">
  <link rel="stylesheet" href="./libs/bootstrap.min.css">
</head>

<body>
  <div class="row">
    <div class="col-6 text-center">
      <div class="card" style="width: 80%;margin: 0 auto;" onclick="openBoardMode()">
        <div class="card-body">
          <h5 class="card-title">白板模式</h5>
          <p class="card-text">普通白板和文件白板以一个列表来展示</p>
          <a href="./board/index.html" class="btn btn-primary">体验白板模式</a>
        </div>
        <!-- <img class="card-img-top" src="./images/boardmode.jpg"> -->
      </div>
    </div>

    <div class="col-6 text-center">
      <div class="card" style="width: 80%;margin: 0 auto;" onclick="openFileMode()">
        <div class="card-body">
          <h5 class="card-title">文件模式</h5>
          <p class="card-text">普通白板和文件白板分组展示</p>
          <a href="./file/index.html" class="btn btn-success">体验文件模式</a>
        </div>
        <!-- <img class="card-img-top" src="./images/filemode.jpg"> -->
      </div>
    </div>
  </div>

  <script>
    function openBoardMode() {
      window.location.href = '/board/index.html';
    }

    function openFileMode() {
      window.location.href = '/file/index.html';
    }
  </script>
</body>

</html>